package com.design.builder;

/**
 * @Author: ChengLei.Liu
 * @Date: 2020-06-10 09:59
 * @Description:
 */
public class SmallCarBuilder extends AbstractCarBuilder {
    @Override
    public void buildCarName() {
        car.setCarName("小汽车");
    }

    @Override
    public void buildColor() {
        car.setColor("白色");
    }

    @Override
    public void buildWheel() {
        car.setWheel("小车轮");
    }

    @Override
    public void buildBody() {
        car.setBody("小车身");
    }

    @Override
    public void buildLight() {
        car.setLight("小车灯");
    }
}
